﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：DicCategoryDetailsDto.cs
// 功能描述：TongTongMall.MallWeb.Core
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TongTongMall.MallWeb.Core.Components.Models
{
    public class DicCategoryDetailsDto
    {
        /// <summary>
        /// 分类标识
        /// </summary>		
        public Guid CateID { get; set; }
        /// <summary>
        /// 父标识
        /// </summary>		
        public Guid? PCateID { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>		
        public string CateName { get; set; }

        /// <summary>
        /// 说明
        /// </summary>
        public string MetaDescription { get; set; }

        /// <summary>
        /// 图片地址
        /// </summary>
        public string URI { get; set; }

        /// <summary>
        /// 一级子分类
        /// </summary>
        public List<DicCategoryDetailsFirstChildDto> ChildFirstItems { get; set; }
    }

    public class DicCategoryDetailsFirstChildDto
    {
        /// <summary>
        /// 子分类id
        /// </summary>
        public Guid ChildCateID { get; set; }

        /// <summary>
        /// 子分类名称
        /// </summary>		
        public string ChildCateName { get; set; }

    }
}
